tp1RI.ps: clean tp1RI.dvi
	dvips -ta4 tp1RI.dvi -o tp1RI.ps
	dvipdf tp1RI.dvi tp1RI.pdf

tp1RI.dvi: tp1RI.tex tp1RI.bib
	latex tp1RI.tex
	bibtex tp1RI
	latex tp1RI.tex
	latex tp1RI.tex
	latex tp1RI.tex

clean:
	rm -f *.log *.aux *.bbl *.blg *.dvi *.ps *.pdf *.lot *.toc *.lof *~
